#include<bits/stdc++.h>
using namespace std;
int read(){
	int r=0,f=1;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-') f=-1;ch=getchar();}
	while(isdigit(ch)){r=(r<<3)+(r<<1)+ch-'0';ch=getchar();}
	return r*f;
}
void w(int x){
	if(x<0){
		putchar('-');
		x=-x;
	}
	if(x>=10){
		w(x/10);
	}
	putchar('0'+x%10);
}
int main(){
	freopen("arena.in","r",stdin);
	freopen("arena.out","w",stdout);
	fclose(stdin);
	fclose(stdout);
	return 0;
}
